<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>add</title>
    <script type="text/javascript" th:src="@{js/jquery-1.12.4.js}"></script>
    <script type="text/javascript">
        $("#f").click(function (){
            window.location.href="index.html";
        })
    </script>
</head>
<body>
<center style="width: 500px">
    <form action="add" style="text-align: center">
        <p style="background-color: darkslateblue">
            添加回复
        </p>
        <p>
            <label>回复内容</label>
            <textarea name="content" cols="22" rows="3"></textarea>
        </p>
        <p>
            <label>回复昵称</label>
            <input name="author">
        </p>
        <p>
            <button name="ps" >提交</button>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <button name="ps" value="返回">返回</button>
        </p>
    </form>
</center>
</body>
</html>